package com.flycent.hqhs.bean;


import net.tsz.afinal.annotation.sqlite.Id;


/**
 * @author fbl
 *  商品浏览记录(只用于记录浏览历史)
 */
public class ProductDetails {
	@Id(column = "cid")
	private int cid;  // 加入浏览记录需要的一个主键id 
	private long  id;    // id 
	private String name;  //名称
	private float  price;     //销售价
	private String image;  // 图片路径
	
	
	@Override
	public String toString() {
		return "ProductDetails [cid=" + cid + ", id=" + id + ", name=" + name
				+ ", price=" + price + ", image=" + image + "]";
	}
	public ProductDetails(long id, String name, float price, String image) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
		this.image = image;
	}
	public ProductDetails() {
		super();
	}
	public ProductDetails(int cid, long id, String name, float price,
			String image) {
		super();
		this.cid = cid;
		this.id = id;
		this.name = name;
		this.price = price;
		this.image = image;
	}
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	
	


}
